package cn.hongwei.eduservice.mapper;

import cn.hongwei.eduservice.entity.Subject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程科目 Mapper 接口
 * </p>
 *
 * @author atguigu
 * @since 2021-06-23
 */
@Repository
public interface SubjectMapper extends BaseMapper<Subject> {

    //查询课程分类列表,自定义sql
    List<Subject> getCourse();
}
